package com.iteratorTest;

public class MyArrayListTest1 {
    public static void main(String[] args) {
        //定义一个集合：
        MyArrayList <String> List =  new MyArrayList<>();
        List.add("abc");
        List.add("zgq");
        List.add("ls");

        String i = List.get(0);
        System.out.println(i);


        System.out.println(List);


    }
}
